package highlighter.ast.impl;

import highlighter.ast.IASTNode;
import highlighter.visitor.IASTVisitor;

public class IntConst implements IASTNode {
	private int value;

	public IntConst(int value) {
		this.value = value;
	}

	public int getValue() {
		return value;
	}

	@Override
	public Object accept(IASTVisitor visitor) {
		return visitor.visit(this);
	}

}
